package com.reader.cms.entity.common;

import java.io.Serializable;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import org.springframework.format.annotation.DateTimeFormat;
import com.baomidou.mybatisplus.annotations.TableName;

/**
*
* @@description 
* @author        gumenghao
* @date          2018-10-31
*/
@TableName("reader_comment_reply")
public class ReaderCommentReply extends Model<ReaderCommentReply> {

private static final long serialVersionUID = 1L;




	@TableId(value="id", type= IdType.AUTO)
private Integer id;

/**
* 关联id，所有有相关评论的ID
*/

@TableField("comment_id")

private Integer commentId;

/**
* 评论回复内容
*/


private String reply;



private Integer enable;


@TableField("del_flag")

private Integer delFlag;


@TableField("insert_dt")

@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date insertDt;


@TableField("insert_user_id")

private Integer insertUserId;


@TableField("updt_dt")

@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date updtDt;


@TableField("updt_user_id")

private Integer updtUserId;


public Integer getId() {
return id;
}

public void setId(Integer id) {
this.id = id;
}

public Integer getCommentId() {
return commentId;
}

public void setCommentId(Integer commentId) {
this.commentId = commentId;
}

public String getReply() {
return reply;
}

public void setReply(String reply) {
this.reply = reply;
}

public Integer getEnable() {
return enable;
}

public void setEnable(Integer enable) {
this.enable = enable;
}

public Integer getDelFlag() {
return delFlag;
}

public void setDelFlag(Integer delFlag) {
this.delFlag = delFlag;
}

public Date getInsertDt() {
return insertDt;
}

public void setInsertDt(Date insertDt) {
this.insertDt = insertDt;
}

public Integer getInsertUserId() {
return insertUserId;
}

public void setInsertUserId(Integer insertUserId) {
this.insertUserId = insertUserId;
}

public Date getUpdtDt() {
return updtDt;
}

public void setUpdtDt(Date updtDt) {
this.updtDt = updtDt;
}

public Integer getUpdtUserId() {
return updtUserId;
}

public void setUpdtUserId(Integer updtUserId) {
this.updtUserId = updtUserId;
}

@Override
protected Serializable pkVal() {
return this.id;
}

@Override
public String toString() {
return "ReaderCommentReply{" +
	", id=" + id +
	", commentId=" + commentId +
	", reply=" + reply +
	", enable=" + enable +
	", delFlag=" + delFlag +
	", insertDt=" + insertDt +
	", insertUserId=" + insertUserId +
	", updtDt=" + updtDt +
	", updtUserId=" + updtUserId +
"}";
}
}